package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.pojo.Department;
import cn.wolfcode.rbac.pojo.Employee;
import cn.wolfcode.rbac.util.PageResult;
import cn.wolfcode.rbac.util.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    void insertpojo(Department department);

    List<Department> selectall();

    void save(Department department);

    Department selectbyid(Integer id);

    void delect(Integer id);

    PageResult PageResult(QueryObject queryObject);

    PageInfo<Department> getallemp(QueryObject queryObject);


//  void updatebyid(Department department);
}
